home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fatted Calf
/
The Fatted Calf.iso
/
Applications
/
Communication
/
NewsBase
/
Source
/
common.subproj
/
Localization.h
< prev
next >
Wrap
Text File
|
1993-01-12
|
1KB
|
34 lines
/* You may freely copy, distribute, and reuse the code in this example.
* NeXT disclaims any warranty of any kind, expressed or implied, as to
* its fitness for any particular use.
*/
#import <appkit/Application.h>
#import <defaults/defaults.h>
#import <streams/streams.h>
#import <time.h>
#define LocalString(key, value, comment) doLocalString(NULL, key, value)
#define LocalStringFromTable(table, key, value, comment) \
doLocalString(#table, key, value)
extern id LoadLocalNib(const char *nibFile, id owner,
BOOL withName,NXZone *zone);
extern NXStream *LocalMapFile(const char *file, int flag);
extern id LocalImage(const char *file);
extern void InitLocalDateAndTime();
extern void LocalDateAndTime(char *buffer,int maxBufferSize, const time_t *time);
extern void LocalDate(char *buffer,int maxBufferSize, const time_t *time);
extern void LocalTime(char *buffer,int maxBufferSize, const time_t *time);
extern const char *doLocalString(const char *stringTable,
const char *key,
const char *value);
/* Methods specific to AskMe app */
extern void getAppDirectory(char *appDirectory);
extern const char *findLocalDir();